package com.service.statistics.client;

import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient("service-edu")
public interface CourseClient {

    @GetMapping("course/queryCreateCount/{day}")
    public Integer queryRegisterCount(@PathVariable String day);

}
